package com.ruoyi.project.cardbox.outbound.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.project.cardbox.orders.domain.Orders;
import com.ruoyi.project.cardbox.outbound.domain.OrderOutbound;

/**
 * 出库单Service接口
 * 
 * @author ruoyi
 * @date 2025-07-04
 */
public interface IOrderOutboundService extends IService<OrderOutbound>
{
    /**
     * 查询出库单
     * 
     * @param id 出库单主键
     * @return 出库单
     */
    public OrderOutbound selectOrderOutboundById(Long id);

    /**
     * 查询出库单列表
     * 
     * @param orderOutbound 出库单
     * @return 出库单集合
     */
    public List<OrderOutbound> selectOrderOutboundList(OrderOutbound orderOutbound);

    /**
     * 新增出库单
     * 
     * @param orderOutbound 出库单
     * @return 结果
     */
    public int insertOrderOutbound(OrderOutbound orderOutbound);

    /**
     * 修改出库单
     * 
     * @param orderOutbound 出库单
     * @return 结果
     */
    public int updateOrderOutbound(OrderOutbound orderOutbound);

    /**
     * 批量删除出库单
     * 
     * @param ids 需要删除的出库单主键集合
     * @return 结果
     */
    public int deleteOrderOutboundByIds(String ids);

    /**
     * 删除出库单信息
     * 
     * @param id 出库单主键
     * @return 结果
     */
    public int deleteOrderOutboundById(Long id);

    void createOutboundReceipt(Orders order);

    List<OrderOutbound> selectOrderOutboundByIds(List<String> ids);
}
